package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.LeaveApply;

public interface LeaveApplyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LeaveApply record);

    int insertSelective(LeaveApply record);

    LeaveApply selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LeaveApply record);

    int updateByPrimaryKey(LeaveApply record);
    
    List<LeaveApply> findAllByLeaveApply(LeaveApply la,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
    
   
}